import request from './request';

//获取分类
export const getParamsList = (params) => request({
    url: "categories",
    method: "get",
    params: params
})
//分类参数
export const getParams = (params) => request({
    url: `categories/${params.id}/attributes`,
    method: "get",
    params: params
})